package com.itheima.d5_abstract2;

import com.sun.tools.javac.Main;

public class Test {
    public static void main(String[] args) {
        Animal a =new Cat();
        a.setName("哆啦A梦");
        a.cry();
        System.out.println(a.getName());
    }
}
